import Index from "../views/index";
import Login from "../views/Login";

let routes = [
    {
        path: ["/", "/index"],
        render(props) {
            return <Index {...props} />;
        },
    },
    {
        path: "/login",
        render(props) {
            return <Login {...props} />;
        },
    },
];

export default routes;
